package com.llb666.shop.order.domain.repository;

import com.llb666.shop.order.domain.entity.OrderItems;

import java.util.List;

/**
 * 订单明细仓储层.
 *
 * @author llb666
 */
public interface OrderItemsRepository {

    /**
     * 查询代办订单.
     *
     * @param orderId 订单id
     * @return 订单列表
     */
    List<OrderItems> queryPendingComment(String orderId);

    /**
     * 新增订单明细.
     *
     * @param subOrderItem 订单商品
     */
    void insert(OrderItems subOrderItem);

}
